<template>
  <div class="el-more pointer" @click="toPgae()">
    更多
    <span>></span>
  </div>
</template>
<script>
import router from '@/router'
export default {
  props: {
    name: {
      type: String,
      default: '大赛详情-标题.png', //标题图标的文件名字
    },
    type: {
      type: Number,
      default: 1, //大标题 2中标题 3小标题
    },
    src: {
      type: String,
    },
  },
  data() {
    return {}
  },
  methods: {
    toPgae() {
      if (this.src) {
        router.push({
          name: this.src,
        })
      }
    },
  },
}
</script>
<style scoped lang="less">
.el-more {
  font-size: 14px;
  color: #0050a5;
  display: flex;
  align-items: center;
  height: 100%;
}
</style>
